queue * elem, * tmp;
waypoint * waypointp;
double dist;
- waypoint ** comp;
- int i, wc;
- queue temp_head;
extra_data *ed;
double lat1, lon1, lat2, lon2;
int fileline = 0;
static void
data_write(void)
{
- queue *elem, *tmp;
-
if (NULL == (opdb = new_pdb())) {
fatal (MYNAME ": new_pdb failed\n");
}
double d;
do {
unsigned char tag;
- unsigned char ilen;
waypoint *wpt_tmp;
wpt_tmp = xcalloc(sizeof(*wpt_tmp), 1);
waypoint *wpt;
char *ident;
char *src = NULL;
- char *wptname;
wpt = (waypoint *) elem;
static void
data_read(void)
{
- struct dbrec *rec;
struct pdb *pdb;
struct pdb_record *pdb_rec;
gcdb_write_wpt(const waypoint *wpt)
{
struct dbrec *rec;
- char *vdata;
- char *recdata;
static int ct;
- int length;
int reclen;
char tbuf[100];
static void
data_write(void)
{
- queue *elem, *tmp;
-
if (NULL == (opdb = new_pdb())) {
fatal (MYNAME ": new_pdb failed\n");
}
static void
data_write(void)
{
- queue *elem, *tmp;
-
static char *appinfo =
"\0\x01"
"User\0\0\0\0\0\0\0\0\0\0\0\0"
unsigned char c;
double dbl;
int i;
- unsigned int u;
int t;
int valid = 1;
static int last_time;
- static int centi;
/*
* Version 4.06 (at least) has a defect when it's set for .01km
if (hdr) {
for (i = 0; i < PRIME; i++) {
- queue *e, *t, *z;
+ queue *e, *t;
QUEUE_FOR_EACH(&hdr->namelist[i], e, t) {
uniq_shortname *s = (uniq_shortname *) e;
dequeue(e);
char latdir, londir;
long alt;
int symnum;
- char alttype;
char date[10];
char time[9];
waypoint *wpt_tmp;
{
queue * elem, * tmp;
waypoint * waypointp;
- waypoint ** comp;
- int i, wc;
- queue temp_head;
extra_data *ed;
double lat1, lon1, lat2, lon2;
double olat, olon;
test_endianness();
}
- tpg_fread(buf, 1, 8, tpg_file_in);
+ tpg_fread(buf, 1, 8, fp);
if (i_am_little_endian) {
return *(double *) buf;
}